package com.wumai.keystrokes.models.settings;

/**
 * @author trick12138
 * @date 2025-08-20
 */
public class KeyConfig {
    String name;
    String fileName;
    int index;
    boolean used = false; // 标记是否为当前使用的配置

    public KeyConfig() {}

    public KeyConfig(String name, String fileName, int index) {
        this.name = name;
        this.fileName = fileName;
        this.index = index;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isUsed() {
        return used;
    }

    public void setUsed(boolean used) {
        this.used = used;
    }
}